package com.atguigu.gulimall.product.vo;

import com.atguigu.gulimall.product.entity.SkuImagesEntity;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;
import com.atguigu.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;
import lombok.ToString;

import java.util.List;

@Data
@ToString
public class SkuItemVo {

    // sku基本信息  pms_sku_info
    private SkuInfoEntity info;

    private Boolean hasStock = true;

    // sku图片信息  pms_sku_images
    private List<SkuImagesEntity> images;

    // 获取spu销售属性组合
    private List<SkuItemSaleAttrVo> saleAttr;

    // 获取spu介绍
    private SpuInfoDescEntity desc;

    // 获取spu规格参数信息
    private List<SpuItemBaseAttrGroupVo> groupAttrs;

}
